package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student su = new Student("张光",23,"廊坊","jsd2309","001");
        su.sayHi();
        Teacher te = new Teacher("丽丽",35,"佳丽斯 ",6000.0);
        te.sayHi();
        Doctor zl = new Doctor("招联",45,"山东","主任医师");
        zl.sayHi();


    }
}
